package com.irdstudio.efp.esb.api.bean.sed.rate;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.irdstudio.basic.framework.core.annotation.BeanMapKey;
import com.irdstudio.basic.framework.core.annotation.DicType;
import com.irdstudio.efp.esb.api.common.sed.SedNlsCertTpEnum;
import com.irdstudio.efp.esb.api.common.sed.SedTrmTypeEnum;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;


/**
 * 执行利率查询
 * @author  weijj
 * @since 2019年4月22日 下午16:57:08
 * @version 1.0
 */
@JsonPropertyOrder(alphabetic = true)
public class ReqSedQueryRateBean {
	@BeanMapKey("CrdtAppFlowNo")
	@JsonProperty("CrdtAppFlowNo")
	@NotNull
	@NotEmpty
	@Length(max = 32)
	private String CrdtAppFlowNo;// 授信申请流水号
	
	@BeanMapKey("CrdAgrmNo")
	@JsonProperty("CrdAgrmNo")
	@NotNull
	@NotEmpty
	@Length(max = 60)
	private String CrdAgrmNo;// 授信协议编号
	
	@BeanMapKey("LoanTrm")
	@JsonProperty("LoanTrm")
	@NotNull
	@NotEmpty
	@Length(max = 5)
	private String LoanTrm;// 贷款期限
	
	@BeanMapKey("LoanTrmType")
	@JsonProperty("LoanTrmType")
	@NotNull
	@NotEmpty
	@Length(max = 10)
	@DicType(dicType = SedTrmTypeEnum.class, method = "getValue")
	private String LoanTrmType;// 贷款期限类型
	
	@BeanMapKey("CertTp")
	@JsonProperty("CertTp")
	@NotNull
	@NotEmpty
	@Length(max = 32)
	@DicType(dicType = SedNlsCertTpEnum.class, method = "getValue")
	private String CertTp;// 证件类型
	
	@BeanMapKey("CertNo")
	@JsonProperty("CertNo")
	@NotNull
	@NotEmpty
	@Length(max = 32)
	private String CertNo;// 证件号码


	public String getCrdtAppFlowNo() {
		return CrdtAppFlowNo;
	}

	public void setCrdtAppFlowNo(String crdtAppFlowNo) {
		CrdtAppFlowNo = crdtAppFlowNo;
	}

	public String getCrdAgrmNo() {
		return CrdAgrmNo;
	}

	public void setCrdAgrmNo(String crdAgrmNo) {
		CrdAgrmNo = crdAgrmNo;
	}

	public String getLoanTrm() {
		return LoanTrm;
	}

	public void setLoanTrm(String loanTrm) {
		LoanTrm = loanTrm;
	}

	public String getLoanTrmType() {
		return LoanTrmType;
	}

	public void setLoanTrmType(String loanTrmType) {
		LoanTrmType = loanTrmType;
	}

	public String getCertTp() {
		return CertTp;
	}

	public void setCertTp(String certTp) {
		CertTp = certTp;
	}

	public String getCertNo() {
		return CertNo;
	}

	public void setCertNo(String certNo) {
		CertNo = certNo;
	}


	
}
